<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<include file="Public/header"/>

</head>

<body>

<div id="wrapper">

	<include file="Public/left" />
	<div id="page-wrapper">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header"> 列表</h1>
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
		<div class="row">
			<div class="col-lg-12">
				<div class="panel-body">
					<div class="table-responsive">
						<table class="table table-striped table-bordered table-hover">
							<thead>
								<tr>
									<th>#</th>
									<th>标题</th>
									<th>分类</th>
									<th>时间</th>
									<th>排序</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<volist name="list" id="list">
									<tr>
										<td>{$list['id']}</td>
										<td>{$list['title']}</td>
										<td>{$class[$list['cid']]['name']}</td>
										<td>{$list['time']|date='Y-m-d H:i:s',###}</td>
										<td>{$list['sort']}</td>
										<td>
											<a href="{:U('Article/edit',array('id'=>$list['id']))}">查看</a>
											<a href="{:U('Article/del',array('id'=>$list['id']))}" onclick="if(!confirm('确定删除？')) return false;">删除</a>
										</td>
									</tr>
								</volist>
								<tr>
									<td></td>
									<td colspan="7" align="right">{$page}</td>
								</tr>
							</tbody>
						</table>
					</div>
					<!-- /.table-responsive -->
				</div>
			</div>
		</div>
	</div>
	<!-- /.row -->
</div>
<!-- /#page-wrapper -->

	</div>
	<!-- /#wrapper -->

	<include file="Public/footer" />

	<!-- Morris Charts JavaScript -->
	<script src="__PUBLIC__/Admin/bower_components/raphael/raphael-min.js"></script>
	<script src="__PUBLIC__/Admin/bower_components/morrisjs/morris.min.js"></script>
	<script src="__PUBLIC__/Admin/js/morris-data.js"></script>

</body>

</html>
